package com.liyiwei.design.factory.samlefatory;

public class DogProduct implements Product {

    public DogProduct(){
        System.out.println("狗产品");
    }

    public void eat() {
        System.out.println("狗吃东西");
    }

    public void hear() {
        System.out.println("狗听东西");

    }
}
